﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.BaseData.Domain.Entities
{
    /// <summary>
    /// 记录表
    /// </summary>
    public class Record
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int RecordId { get; set; }
        /// <summary>
        /// 请假申请id
        /// </summary>
        public int LeaveId { get; set; }
        /// <summary>
        /// 操作人id
        /// </summary>
        public int OperatorId { get; set; }
        /// <summary>
        /// 操作人名字
        /// </summary>
        public string OperatorName { get; set; }
       
        /// <summary>
        /// 审批状态
        /// </summary>
        public int AppResult{ get; set; }
        /// <summary>
        /// 驳回原因
        /// </summary>
        public string? Reason { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
